﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="reg.aspx.cs" Inherits="reg" Title="Untitled Page" %>

<%@ Register Src="~/UserControls/ucMenuLeft.ascx" TagName="MenuLeft" TagPrefix="uc" %>
<%@ Register Src="~/UserControls/Advertising.ascx" TagName="Adv" TagPrefix="uc" %>
<%@ Register Src="~/UserControls/NoSpam.ascx" TagName="NoSpam" TagPrefix="uc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentCss" runat="Server">
    <link href="css/reg.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="js/validate.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentFooter" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMenu" runat="Server">
    <uc:MenuLeft ID="MenuLeft1" runat="server" GroupId="1" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentMain" runat="Server">
    <div class="reg-wrap">
        <h3>
            <img src="images/dang-ky-thanh-vien-hp.gif" alt="thoi trang" width="400" height="40" /></h3>
        <!--Reg-->
        <div class="reg">
        <%if (error)
          { %>
        <p class="myerror" id="InfoError" runat="server"></p>
        <%} %>
        <%if (!ok)
          { %>
            <%--<form action="reg.asp?ckid=<%=Request["ckid"]!=null?Request["ckid"]:"" %>" id="FormReg"
            method="post" name="reg_form">--%>
            <div class="group fl simple">
                <div>
                    <label for="email_dangnhap">
                        E-mail đăng nhập:
                    </label>
                    <input type="text" name="email_dangnhap" id="email_dangnhap" />
                </div>
                <div>
                    <label for="matma">
                        Mật mã:
                    </label>
                    <input type="password" name="matma" id="matma" />
                </div>
                <div>
                    <label for="xacnhan_matma">
                        Xác nhận mật mã:
                    </label>
                    <input type="password" name="xacnhan_matma" id="xacnhan_matma" />
                </div>
                <div>
                    <label for="gioitinh">
                        Giới tính:</label>
                    <select name="gioitinh" id="gioitinh">
                        <option value="b">Nam</option>
                        <option value="g">Nữ</option>
                    </select>
                </div>
                <div>
                    <label for="ten">
                        Tên:</label>
                    <input type="text" name="ten" id="ten" />
                </div>
                <div>
                    <label for="ho">
                        Họ:</label>
                    <input type="text" name="ho" id="ho" />
                </div>
                <div>
                    <label for="loaithanhvien">
                        Loại thành viên:</label>
                    <select name="loaithanhvien" id="loaithanhvien">
                        <option value="5">Độc giả</option>
                        <option value="4">Tác giả</option>
                    </select>
                </div>
                <input type="submit" value="Đăng ký" name="commit" class="submitbutton" />
            </div>
            <%--</form>--%>
            <div class="godaddy fl">
                <script type="text/javascript" language="Javascript" src="https://seal.godaddy.com/getSeal?sealID=56236410308d11cc812711877411eac17f2c098055460"></script>
            </div>
            <%}
          else
          { %>
            <div style="clear: both; margin: 10px;">
                <p>
                    Đăng ký hoàn tất</p>
                <br />
                <a href="login.aspx?ckid=<%=Request["ckid"]!=null?Request["ckid"]:"" %>">
                    <img src="hinh-thoi-trang/btn_continue.gif" border="0"></a>
                <br />
                <br />
            </div>
            <%} %>
            <uc:NoSpam ID="NoSpam1" runat="server" ></uc:NoSpam>
        </div>
        <!--//Reg-->
    </div>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentLeft" runat="Server">
    <uc:Adv runat="server" />
</asp:Content>
